package com.cesgroup.zw.spring.boot.library.echarts.graph.bubble;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;
import lombok.Builder;
import lombok.Data;

/**
 * @author ytj
 * @date 2019/7/5 10:12
 */
@Builder
@Data
@SuppressWarnings("serial")
public class BubbleGraphParam  implements IChartsParam<BubbleGraphSeries,Object[]>{
    private Object[] dataset;

    @Override
    public IComponent[] getSeries() {
        return new IComponent[]{new BubbleGraphSeries(this)};
    }
}
